﻿namespace Ganss.Excel.Tests.Data
{
    class ProductMultiColums
    {
        public string Name { get; set; }

        [Column("Number", MappingDirections.ExcelToObject)]// Read as "Number"
        [Column("NewNumber", MappingDirections.ObjectToExcel)]// Write as "NewNumber"
        public int NumberInStock { get; set; }

        [Column(MappingDirections.ExcelToObject)]// Read as "Price"
        [Column("NewPrice", MappingDirections.ObjectToExcel)]// Write as "NewPrice"
        public decimal Price { get; set; }

        [Column(MappingDirections.ExcelToObject)] // Read as "Value"
        [Column("NewValue", MappingDirections.ObjectToExcel)] // Write as "NewValue"
        public string Value { get; set; }
    }
}